import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    count: '1',
    counts: '8',
  },
  getters: {
   counts: state => state.counts
  },
  mutations: {
    countAdd(state, data) {
      state.count++
    }
  },
  actions: {
  },
  modules: {
  }
})
